-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Align some extensions with SYCL 2020 #4432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL] Align some extensions with SYCL 2020 #4432
Conversation
This patch 1. aligns these extensions with SYCL 2020 [section intel#6 in the spec]: - Enqueue barrier [SYCL_EXT_INTEL_ENQUEUE_BARRIER] - Level Zero backend [SYCL_EXT_ONEAPI_BACKEND_LEVEL_ZERO] - Local memory [SYCL_EXT_ONEAPI_LOCAL_MEMORY] - mem_channel property [SYCL_EXT_INTEL_MEM_CHANNEL_PROPERTY] - USM address spaces [SYCL_EXT_INTEL_USM_ADDRESS_SPACES] 2. deprecates these extensions: - sycl::detail::bit_cast [SYCL_INTEL_bitcast] 3. changes the location of these extensions: - sycl::ext::intel::online_compiler moves to sycl::ext::intel::experimental. sycl::ext::intel::online_compiler is deprecated.
…date-oneapi-and-intel-extensions
FAIL: SYCL::bfloat16.cpp in buildbot/Lit_With_Cuda is a common issue. |
It's already resolved. You can restart the tests to get relevant results. |
@intel/dpcpp-specification-reviewers, please review. |
@rolandschulz @Pennycook @jbrodman @gmlueck @mkinsner, friendly reminder. |
@v-klochkov @GarveyJoe @MrSidims @smaslov-intel for awareness. |
No objections from my side. |
…ttps://github.com/dm-vodopyanov/llvm into private/dvodopya/update-oneapi-and-intel-extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sycl/doc/CompilerAndRuntimeDesign.md change looks good to me.
Added @GarveyJoe to review "USM address spaces" spec changes. |
LGTM |
@dm-vodopyanov This PR is huge - 26 files and it changes many various things. The description says there are 3 major changes that seem independent from each other. It is difficult to review one huge PR. 3 separate may be often reviewed/merged faster than 1 big PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think more work needs to be done to these extension specifications before they are fully aligned with SYCL 2020. Some of them still say they are based on SYCL 1.2.1, and they still contain references to specific sections in SYCL 1.2.1. If it was your intent to fully align these extensions, I think these changes should be made also.
sycl/doc/extensions/USMAddressSpaces/usm_address_spaces.asciidoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this housekeeping!
sycl/doc/extensions/USMAddressSpaces/usm_address_spaces.asciidoc
Outdated
Show resolved
Hide resolved
…ttps://github.com/dm-vodopyanov/llvm into private/dvodopya/update-oneapi-and-intel-extensions
…date-oneapi-and-intel-extensions
@gmlueck, can you please review? |
This patch 1. aligns these extensions with SYCL 2020 [section #6 in the spec]: - Enqueue barrier [SYCL_EXT_INTEL_ENQUEUE_BARRIER] - Level Zero backend [SYCL_EXT_ONEAPI_BACKEND_LEVEL_ZERO] - Local memory [SYCL_EXT_ONEAPI_LOCAL_MEMORY] - mem_channel property [SYCL_EXT_INTEL_MEM_CHANNEL_PROPERTY] - USM address spaces [SYCL_EXT_INTEL_USM_ADDRESS_SPACES] 2. deprecates these extensions: - sycl::detail::bit_cast [SYCL_INTEL_bitcast] 3. changes the location of these extensions: - sycl::ext::intel::online_compiler moves to sycl::ext::intel::experimental. sycl::ext::intel::online_compiler is deprecated.
This patch
aligns these extensions with SYCL 2020 [section 6 in the spec]:
partially aligns with SYCL 2020:
deprecates this extension:
changes the location of this extension:
sycl::ext::intel::online_compiler is deprecated.